<template>
  <div class="">
    <h1>图文介绍</h1>
    <h1>{{ desc.title }}</h1>
    <div v-html="desc.content"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      id: this.$route.query.id,
      desc: [],
    };
  },
  mounted() {
    this.$axios.get("/api/goods/getdesc/" + this.id).then((res) => {
      console.log(res);
      this.desc = res.data.message[0];
    });
  },
  methods: {},
  components: {},
};
</script>

<style lang="scss"></style>
